package net.vil.framework.exception;

public class PageRequestException extends MyException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3386890523789648932L;

	private Object[] objects = null;

	  public PageRequestException() {
	    super();
	  }

	  public PageRequestException(String message) {
	    super(message);
	  }

	  public PageRequestException(String message, Throwable cause) {
	    super(message, cause);
	  }

	  public PageRequestException(Throwable cause) {
	    super(cause);
	  }

	  public PageRequestException(String message, Object obj) {
	    super(message);
	    objects = new Object[1];
	    objects[0] = obj;
	  }

	  public PageRequestException(String message, Object obj1, Object obj2) {
	    super(message);
	    objects = new Object[2];
	    objects[0] = obj1;
	    objects[1] = obj2;
	  }

	  public PageRequestException(String message, Object obj1, Object obj2,
	      Object obj3) {
	    super(message);
	    objects = new Object[3];
	    objects[0] = obj1;
	    objects[1] = obj2;
	    objects[2] = obj3;
	  }

	  public PageRequestException(String message, Object obj1, Object obj2,
	      Object obj3, Object obj4) {
	    super(message);
	    objects = new Object[4];
	    objects[0] = obj1;
	    objects[1] = obj2;
	    objects[2] = obj3;
	    objects[3] = obj3;
	  }

	  public PageRequestException(String message, Object[] objs) {
	    super(message);
	    objects = objs;
	  }

	  public Object[] getArgs() {
	    return objects;
	  }

	  public void setArgs(Object[] objs) {
	    this.objects = objs;
	  }
}
